<template>
  <div
    class="card"
    
    style="
      box-shadow: 0px 0px 5px 3px silver;
      width: 100%;
      border-radius: 5px;
      margin-bottom: 10px;
    "
  >
    <div>
      <header
        style="
          width: 100%-20px;
          height: 50px;
          border-top-left-radius: 5px;
          border-top-right-radius: 5px;
          display: grid;
          align-items: center;
          font-size: 20px;
          padding: 0 20px;
          border-bottom: 1px solid #cfcfcf;
          
        "
      >
        <slot name="header"></slot>
      </header>
      <div
        class="main"
        style="
          width: 100%-20px;
          display: grid;
          padding: 20px;
          border-bottom-left-radius: 5px;
          border-bottom-right-radius: 5px;
        "
      >
        <slot name="main"></slot>
        
      </div>
    </div>
  </div>
</template>

<script>
export default {}
</script>

<style>
/* .card {
  box-shadow: 0px 0px 5px 3px silver;
  width: 100%;
  border-radius: 5px;
  margin-bottom: 10px;
}
header {
  width: 100%-20px;
  height: 50px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  display: grid;
  align-items: center;
  font-size: 20px;
  padding: 0 20px;
  border-bottom: 1px solid #cfcfcf;
}
.main {
  width: 100%-20px;
  display: grid;
  padding: 20px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
} */
</style>
